import 'package:ls_work/net/response/response_data.dart';

class ServiceItemContentList extends BaseListData{
  String? createdBy;
  String? createdDate;
  String? duration;
  String? enabled;
  String? name;
  String? remark;
  String? unitId;
  String? updatedBy;
  String? updatedDate;
  num? price;
  num? branchId;
  num? deleteStatus;
  num? id;
  num? saasId;
  num? supplierId;
  num? tenantId;
  num? typeId;

  ServiceItemContentList({this.createdBy, this.createdDate, this.duration, this.enabled, this.name, this.remark, this.unitId, this.updatedBy, this.updatedDate, this.price, this.branchId, this.deleteStatus, this.id, this.saasId, this.supplierId, this.tenantId, this.typeId});

  ServiceItemContentList.fromJson(Map<String, dynamic> json) {    
    this.createdBy = json['createdBy'];
    this.createdDate = json['createdDate'];
    this.duration = json['duration'];
    this.enabled = json['enabled'];
    this.name = json['name'];
    this.remark = json['remark'];
    this.unitId = json['unitId'];
    this.updatedBy = json['updatedBy'];
    this.updatedDate = json['updatedDate'];
    this.price = json['price'];
    this.branchId = json['branchId'];
    this.deleteStatus = json['deleteStatus'];
    this.id = json['id'];
    this.saasId = json['saasId'];
    this.supplierId = json['supplierId'];
    this.tenantId = json['tenantId'];
    this.typeId = json['typeId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['createdBy'] = this.createdBy;
    data['createdDate'] = this.createdDate;
    data['duration'] = this.duration;
    data['enabled'] = this.enabled;
    data['name'] = this.name;
    data['remark'] = this.remark;
    data['unitId'] = this.unitId;
    data['updatedBy'] = this.updatedBy;
    data['updatedDate'] = this.updatedDate;
    data['price'] = this.price;
    data['branchId'] = this.branchId;
    data['deleteStatus'] = this.deleteStatus;
    data['id'] = this.id;
    data['saasId'] = this.saasId;
    data['supplierId'] = this.supplierId;
    data['tenantId'] = this.tenantId;
    data['typeId'] = this.typeId;
    return data;
  }

}
